package com.niyue.sandbox.uclock.clockr;

import java.awt.image.BufferedImage;

public interface FlickrDigitPool {
	/**
	 * initialize the photo pool.
	 */
	public void initialize();
	/**
	 * set the subscriber to report the photos loading status.
	 * @param statusSubscriber the subscriber of loading status
	 */
	public void setStatusSubscriber(StatusSubscriber statusSubscriber);
	/**
	 * get an image of this digit
	 * @param digit a digit (0<=digit<=9)
	 * @return a buffered image of this digit
	 */
	public BufferedImage getImgesByDigit(int digit);
}
